package com.feel.service;

import com.feel.pojo.Appointment;
import com.github.pagehelper.PageInfo;

/**
 * @Author: 刘永钦
 * @Date: 2024-09-04-16:37
 * @Description:
 */
public interface AppointmentService {
//    获得全部订单    条件查询    分页
    PageInfo<Appointment> getAll(Integer page, Appointment appointment);
//    修改订单信息
    Boolean updateInfo(Appointment appointment);
//    删除订单信息
    Boolean delInfo(Integer id);
//    通过id查询订单
    Appointment getById(Integer id);
//    新增订单
    Boolean addInfo(Appointment appointment);
//    获得订单数量
    Integer getAppointmentNumber();
}
